import { computed } from 'vue'
import { useStore } from 'vuex'

export function useUser() {
    const store = useStore()
    const user = computed(() => store.state.user.info)

    return user
}
